class WechatModel {
  bool? success;
  String? weixinAppId;
  String? partnerId;
  String? prepayId;
  String? nonceStr;
  int? timestamp;
  String? paySign;

  WechatModel({this.success, this.weixinAppId, this.partnerId, this.prepayId, this.nonceStr, this.timestamp, this.paySign});

  WechatModel.fromJson(Map<String, dynamic> json) {
    success = json['success'];
    weixinAppId = json['weixinAppId'];
    partnerId = json['partnerId'];
    prepayId = json['prepayId'];
    nonceStr = json['nonceStr'];
    timestamp = json['timestamp'];
    paySign = json['paySign'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['success'] = this.success;
    data['weixinAppId'] = this.weixinAppId;
    data['partnerId'] = this.partnerId;
    data['prepayId'] = this.prepayId;
    data['nonceStr'] = this.nonceStr;
    data['timestamp'] = this.timestamp;
    data['paySign'] = this.paySign;
    return data;
  }
}
